package com.mmd.common.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * table --> mmd_order
 * remarks --> 订单表
 * columns --> orderNo,batchNo,uid,originCountry,destinationCountryId,destinationCountry,isvat,isuseVat,iscog,chargedPrice,totalFee,chargedWeight,singleOperatFee,singleDeclareFee,zgFee,attachFee,routeNo,routeName,isAmazonFba,fbaDepotNo,fbaDepotName,fbaCity,fbaPostcode,fbaLinkman,fbaTel,fbaAddress,logisticsNo,logisticsCompanyCode,logisticsCompanyName,status,chooseSup,isBack,isSplit,backBoxRemark,createTime,updateTime
 */
@ApiModel(value = "mmd_order",description = "订单表")
public class MmdOrder implements Serializable {
    /**
     * orderNo
     * 订单号
     */
    @ApiModelProperty(value="orderNo",name="订单号")
    private String orderNo;

    /**
     * batchNo
     * 批次号
     */
    @ApiModelProperty(value="batchNo",name="批次号")
    private String batchNo;

    /**
     * uid
     * 用户ID
     */
    @ApiModelProperty(value="uid",name="用户ID")
    private Long uid;

    /**
     * originCountry
     * 起点国
     */
    @ApiModelProperty(value="originCountry",name="起点国")
    private String originCountry;

    /**
     * destinationCountryId
     * 目的国ID
     */
    @ApiModelProperty(value="destinationCountryId",name="目的国ID")
    private Long destinationCountryId;

    /**
     * destinationCountry
     * 目的国
     */
    @ApiModelProperty(value="destinationCountry",name="目的国")
    private String destinationCountry;

    /**
     * isvat
     * 是否包税
     */
    @ApiModelProperty(value="isvat",name="是否包税")
    private String isvat;

    /**
     * isuseVat
     * 是否使用自己的VAT
     */
    @ApiModelProperty(value="isuseVat",name="是否使用自己的VAT")
    private String isuseVat;

    /**
     * iscog
     * 是否单独报关
     */
    @ApiModelProperty(value="iscog",name="是否单独报关")
    private String iscog;

    /**
     * chargedPrice
     * 计费单价(通过重量所在区间的单价得来)
     */
    @ApiModelProperty(value="chargedPrice",name="计费单价(通过重量所在区间的单价得来)")
    private BigDecimal chargedPrice;

    /**
     * totalFee
     * 总价
     */
    @ApiModelProperty(value="totalFee",name="总价")
    private BigDecimal totalFee;

    /**
     * chargedWeight
     * 计费重量(如果总材积大于重量，这里就保存材积)
     */
    @ApiModelProperty(value="chargedWeight",name="计费重量(如果总材积大于重量，这里就保存材积)")
    private BigDecimal chargedWeight;

    /**
     * singleOperatFee
     * 单票操作费
     */
    @ApiModelProperty(value="singleOperatFee",name="单票操作费")
    private BigDecimal singleOperatFee;

    /**
     * singleDeclareFee
     * 单票报关费
     */
    @ApiModelProperty(value="singleDeclareFee",name="单票报关费")
    private BigDecimal singleDeclareFee;

    /**
     * zgFee
     * 中港费
     */
    @ApiModelProperty(value="zgFee",name="中港费")
    private BigDecimal zgFee;

    /**
     * attachFee
     * 附加费(子箱单的附加费不一致，取最高)
     */
    @ApiModelProperty(value="attachFee",name="附加费(子箱单的附加费不一致，取最高)")
    private BigDecimal attachFee;

    /**
     * routeNo
     * 渠道路线编码
     */
    @ApiModelProperty(value="routeNo",name="渠道路线编码")
    private String routeNo;

    /**
     * routeName
     * 渠道路线名称
     */
    @ApiModelProperty(value="routeName",name="渠道路线名称")
    private String routeName;

    /**
     * isAmazonFba
     * 是否亚马逊FBA
     */
    @ApiModelProperty(value="isAmazonFba",name="是否亚马逊FBA")
    private String isAmazonFba;

    /**
     * fbaDepotNo
     * FBA仓库编码
     */
    @ApiModelProperty(value="fbaDepotNo",name="FBA仓库编码")
    private String fbaDepotNo;

    /**
     * fbaDepotName
     * FBA仓库名称
     */
    @ApiModelProperty(value="fbaDepotName",name="FBA仓库名称")
    private String fbaDepotName;

    /**
     * fbaCity
     * FBA城市
     */
    @ApiModelProperty(value="fbaCity",name="FBA城市")
    private String fbaCity;

    /**
     * fbaPostcode
     * FBA邮编
     */
    @ApiModelProperty(value="fbaPostcode",name="FBA邮编")
    private String fbaPostcode;

    /**
     * fbaLinkman
     * FBA联系人
     */
    @ApiModelProperty(value="fbaLinkman",name="FBA联系人")
    private String fbaLinkman;

    /**
     * fbaTel
     * FBA电话
     */
    @ApiModelProperty(value="fbaTel",name="FBA电话")
    private String fbaTel;

    /**
     * fbaAddress
     * FBA仓库名称
     */
    @ApiModelProperty(value="fbaAddress",name="FBA仓库名称")
    private String fbaAddress;

    /**
     * logisticsNo
     * 物流单号
     */
    @ApiModelProperty(value="logisticsNo",name="物流单号")
    private String logisticsNo;

    /**
     * logisticsCompanyCode
     * 物流公司编码
     */
    @ApiModelProperty(value="logisticsCompanyCode",name="物流公司编码")
    private String logisticsCompanyCode;

    /**
     * logisticsCompanyName
     * 物流公司名称
     */
    @ApiModelProperty(value="logisticsCompanyName",name="物流公司名称")
    private String logisticsCompanyName;

    /**
     * status
     * 订单状态(1=资料未提交 2=待审核 3=已审核 4=已付款 5=货物入仓 6=出货 7=已签收)
     */
    @ApiModelProperty(value="status",name="订单状态(1=资料未提交 2=待审核 3=已审核 4=已付款 5=货物入仓 6=出货 7=已签收)")
    private Integer status;

    /**
     * chooseSup
     * 是否已经指定供应商(1=是 0=否)
     */
    @ApiModelProperty(value="chooseSup",name="是否已经指定供应商(1=是 0=否)")
    private Integer chooseSup;

    /**
     * isBack
     * 是否已经回传箱单(1=是 0=否)
     */
    @ApiModelProperty(value="isBack",name="是否已经回传箱单(1=是 0=否)")
    private Integer isBack;

    /**
     * isSplit
     * 是否已经分单(1=是 0=否)
     */
    @ApiModelProperty(value="isSplit",name="是否已经分单(1=是 0=否)")
    private Integer isSplit;

    /**
     * backBoxRemark
     * 回传箱单备注
     */
    @ApiModelProperty(value="backBoxRemark",name="回传箱单备注")
    private String backBoxRemark;

    /**
     * quotationHistoryId
     * 历史报价单ID
     */
    @ApiModelProperty(value="quotationHistoryId",name="历史报价单ID")
    private Long quotationHistoryId;

    /**
     * referenceId
     * referenceId
     */
    @ApiModelProperty(value="referenceId",name="referenceId")
    private String referenceId;

    /**
     * isDelete
     * 是否已删除，0-正常，1-已删除
     */
    @ApiModelProperty(value="isDelete",name="是否已删除，0-正常，1-已删除")
    private Integer isDelete;

    /**
     * createTime
     * 下单时间
     */
    @ApiModelProperty(value="createTime",name="下单时间")
    private Date createTime;

    /**
     * updateTime
     * 更新时间
     */
    @ApiModelProperty(value="updateTime",name="更新时间")
    private Integer updateTime;

    private static final long serialVersionUID = 1L;

    public String getReferenceId() {
        return referenceId;
    }

    public void setReferenceId(String referenceId) {
        this.referenceId = referenceId;
    }

    public Long getQuotationHistoryId() {
        return quotationHistoryId;
    }

    public void setQuotationHistoryId(Long quotationHistoryId) {
        this.quotationHistoryId = quotationHistoryId;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo == null ? null : orderNo.trim();
    }

    public String getBatchNo() {
        return batchNo;
    }

    public void setBatchNo(String batchNo) {
        this.batchNo = batchNo == null ? null : batchNo.trim();
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public String getOriginCountry() {
        return originCountry;
    }

    public void setOriginCountry(String originCountry) {
        this.originCountry = originCountry == null ? null : originCountry.trim();
    }

    public Long getDestinationCountryId() {
        return destinationCountryId;
    }

    public void setDestinationCountryId(Long destinationCountryId) {
        this.destinationCountryId = destinationCountryId;
    }

    public String getDestinationCountry() {
        return destinationCountry;
    }

    public void setDestinationCountry(String destinationCountry) {
        this.destinationCountry = destinationCountry == null ? null : destinationCountry.trim();
    }

    public String getIsvat() {
        return isvat;
    }

    public void setIsvat(String isvat) {
        this.isvat = isvat == null ? null : isvat.trim();
    }

    public String getIsuseVat() {
        return isuseVat;
    }

    public void setIsuseVat(String isuseVat) {
        this.isuseVat = isuseVat == null ? null : isuseVat.trim();
    }

    public String getIscog() {
        return iscog;
    }

    public void setIscog(String iscog) {
        this.iscog = iscog == null ? null : iscog.trim();
    }

    public BigDecimal getChargedPrice() {
        return chargedPrice;
    }

    public void setChargedPrice(BigDecimal chargedPrice) {
        this.chargedPrice = chargedPrice;
    }

    public BigDecimal getTotalFee() {
        return totalFee;
    }

    public void setTotalFee(BigDecimal totalFee) {
        this.totalFee = totalFee;
    }

    public BigDecimal getChargedWeight() {
        return chargedWeight;
    }

    public void setChargedWeight(BigDecimal chargedWeight) {
        this.chargedWeight = chargedWeight;
    }

    public BigDecimal getSingleOperatFee() {
        return singleOperatFee;
    }

    public void setSingleOperatFee(BigDecimal singleOperatFee) {
        this.singleOperatFee = singleOperatFee;
    }

    public BigDecimal getSingleDeclareFee() {
        return singleDeclareFee;
    }

    public void setSingleDeclareFee(BigDecimal singleDeclareFee) {
        this.singleDeclareFee = singleDeclareFee;
    }

    public BigDecimal getZgFee() {
        return zgFee;
    }

    public void setZgFee(BigDecimal zgFee) {
        this.zgFee = zgFee;
    }

    public BigDecimal getAttachFee() {
        return attachFee;
    }

    public void setAttachFee(BigDecimal attachFee) {
        this.attachFee = attachFee;
    }

    public String getRouteNo() {
        return routeNo;
    }

    public void setRouteNo(String routeNo) {
        this.routeNo = routeNo == null ? null : routeNo.trim();
    }

    public String getRouteName() {
        return routeName;
    }

    public void setRouteName(String routeName) {
        this.routeName = routeName == null ? null : routeName.trim();
    }

    public String getIsAmazonFba() {
        return isAmazonFba;
    }

    public void setIsAmazonFba(String isAmazonFba) {
        this.isAmazonFba = isAmazonFba == null ? null : isAmazonFba.trim();
    }

    public String getFbaDepotNo() {
        return fbaDepotNo;
    }

    public void setFbaDepotNo(String fbaDepotNo) {
        this.fbaDepotNo = fbaDepotNo == null ? null : fbaDepotNo.trim();
    }

    public String getFbaDepotName() {
        return fbaDepotName;
    }

    public void setFbaDepotName(String fbaDepotName) {
        this.fbaDepotName = fbaDepotName == null ? null : fbaDepotName.trim();
    }

    public String getFbaCity() {
        return fbaCity;
    }

    public void setFbaCity(String fbaCity) {
        this.fbaCity = fbaCity == null ? null : fbaCity.trim();
    }

    public String getFbaPostcode() {
        return fbaPostcode;
    }

    public void setFbaPostcode(String fbaPostcode) {
        this.fbaPostcode = fbaPostcode == null ? null : fbaPostcode.trim();
    }

    public String getFbaLinkman() {
        return fbaLinkman;
    }

    public void setFbaLinkman(String fbaLinkman) {
        this.fbaLinkman = fbaLinkman == null ? null : fbaLinkman.trim();
    }

    public String getFbaTel() {
        return fbaTel;
    }

    public void setFbaTel(String fbaTel) {
        this.fbaTel = fbaTel == null ? null : fbaTel.trim();
    }

    public String getFbaAddress() {
        return fbaAddress;
    }

    public void setFbaAddress(String fbaAddress) {
        this.fbaAddress = fbaAddress == null ? null : fbaAddress.trim();
    }

    public String getLogisticsNo() {
        return logisticsNo;
    }

    public void setLogisticsNo(String logisticsNo) {
        this.logisticsNo = logisticsNo == null ? null : logisticsNo.trim();
    }

    public String getLogisticsCompanyCode() {
        return logisticsCompanyCode;
    }

    public void setLogisticsCompanyCode(String logisticsCompanyCode) {
        this.logisticsCompanyCode = logisticsCompanyCode == null ? null : logisticsCompanyCode.trim();
    }

    public String getLogisticsCompanyName() {
        return logisticsCompanyName;
    }

    public void setLogisticsCompanyName(String logisticsCompanyName) {
        this.logisticsCompanyName = logisticsCompanyName == null ? null : logisticsCompanyName.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getChooseSup() {
        return chooseSup;
    }

    public void setChooseSup(Integer chooseSup) {
        this.chooseSup = chooseSup;
    }

    public Integer getIsBack() {
        return isBack;
    }

    public void setIsBack(Integer isBack) {
        this.isBack = isBack;
    }

    public Integer getIsSplit() {
        return isSplit;
    }

    public void setIsSplit(Integer isSplit) {
        this.isSplit = isSplit;
    }

    public String getBackBoxRemark() {
        return backBoxRemark;
    }

    public void setBackBoxRemark(String backBoxRemark) {
        this.backBoxRemark = backBoxRemark == null ? null : backBoxRemark.trim();
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Integer updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append(", orderNo=").append(orderNo);
        sb.append(", batchNo=").append(batchNo);
        sb.append(", uid=").append(uid);
        sb.append(", originCountry=").append(originCountry);
        sb.append(", destinationCountryId=").append(destinationCountryId);
        sb.append(", destinationCountry=").append(destinationCountry);
        sb.append(", isvat=").append(isvat);
        sb.append(", isuseVat=").append(isuseVat);
        sb.append(", iscog=").append(iscog);
        sb.append(", chargedPrice=").append(chargedPrice);
        sb.append(", totalFee=").append(totalFee);
        sb.append(", chargedWeight=").append(chargedWeight);
        sb.append(", singleOperatFee=").append(singleOperatFee);
        sb.append(", singleDeclareFee=").append(singleDeclareFee);
        sb.append(", zgFee=").append(zgFee);
        sb.append(", attachFee=").append(attachFee);
        sb.append(", routeNo=").append(routeNo);
        sb.append(", routeName=").append(routeName);
        sb.append(", isAmazonFba=").append(isAmazonFba);
        sb.append(", fbaDepotNo=").append(fbaDepotNo);
        sb.append(", fbaDepotName=").append(fbaDepotName);
        sb.append(", fbaCity=").append(fbaCity);
        sb.append(", fbaPostcode=").append(fbaPostcode);
        sb.append(", fbaLinkman=").append(fbaLinkman);
        sb.append(", fbaTel=").append(fbaTel);
        sb.append(", fbaAddress=").append(fbaAddress);
        sb.append(", logisticsNo=").append(logisticsNo);
        sb.append(", logisticsCompanyCode=").append(logisticsCompanyCode);
        sb.append(", logisticsCompanyName=").append(logisticsCompanyName);
        sb.append(", status=").append(status);
        sb.append(", chooseSup=").append(chooseSup);
        sb.append(", isBack=").append(isBack);
        sb.append(", isSplit=").append(isSplit);
        sb.append(", backBoxRemark=").append(backBoxRemark);
        sb.append(", isDelete=").append(isDelete);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}